package com.wwtech.epp.entity;

import android.net.Uri;
import android.os.Parcel;

import java.util.List;

import io.rong.imlib.model.Group;

/**
 * Created by hu on 2017/9/12.
 * 添加me是为了和imlib的group区分
 */

public class Groupme extends BaseBack {

    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean extends Group{
        /**
         * avatar : https://s3.cn-north-1.amazonaws.com.cn/zxl/head/group_avatar%403x.png
         * nickName : 益阳市城市建设投资开发有限责任公司
         * orgTitle :
         * phone :
         * roleLevel : 0
         * userId : 2
         */

        private String avatar;
        private String nickName;
        private String orgTitle;
        private String phone;
        private int roleLevel;
        private int userId;

        public DataBean(Parcel in) {
            super(in);
        }

        public DataBean(String id, String name, Uri portraitUri) {
            super(id, name, portraitUri);
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public String getOrgTitle() {
            return orgTitle;
        }

        public void setOrgTitle(String orgTitle) {
            this.orgTitle = orgTitle;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public int getRoleLevel() {
            return roleLevel;
        }

        public void setRoleLevel(int roleLevel) {
            this.roleLevel = roleLevel;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }
    }
}
